﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using aspZone.Commerce.Model;

namespace aspZone.Commerce.Service
{
    public class DefaultShippingCalculator : IShippingCalculator
    {
        public decimal CalculateShipping(Order order)
        {
            decimal handling = order.Items.Sum(x => x.Handling);
            return handling;
        }
    }
}
